package com.shop.shoporder.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class GroupbuyParticipate implements Serializable {
    private int participateId;

    private int groupbuyId;

    private int userNoId;

    private String userNo;//用户编号

    private String userNick;    // 昵称

    private String headPic;//头像
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date participateStarttime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date participateEndtime;

    private String participateState;

    private String participateEndstate;

    private int participateSort;

    private  int buycount;

    private double groupbuyPrice;


    public int getBuycount() {
        return buycount;
    }

    public void setBuycount(int buycount) {
        this.buycount = buycount;
    }

    public double getGroupbuyPrice() {
        return groupbuyPrice;
    }

    public void setGroupbuyPrice(double groupbuyPrice) {
        this.groupbuyPrice = groupbuyPrice;
    }

    public String getHeadPic() {
        return headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getUserNick() {
        return userNick;
    }

    public void setUserNick(String userNick) {
        this.userNick = userNick;
    }

    public int getParticipateId() {
        return participateId;
    }

    public void setParticipateId(int participateId) {
        this.participateId = participateId;
    }

    public int getGroupbuyId() {
        return groupbuyId;
    }

    public void setGroupbuyId(int groupbuyId) {
        this.groupbuyId = groupbuyId;
    }

    public int getUserNoId() {
        return userNoId;
    }

    public void setUserNoId(int userNoId) {
        this.userNoId = userNoId;
    }

    public Date getParticipateStarttime() {
        return participateStarttime;
    }

    public void setParticipateStarttime(Date participateStarttime) {
        this.participateStarttime = participateStarttime;
    }

    public Date getParticipateEndtime() {
        return participateEndtime;
    }

    public void setParticipateEndtime(Date participateEndtime) {
        this.participateEndtime = participateEndtime;
    }

    public String getParticipateState() {
        return participateState;
    }

    public void setParticipateState(String participateState) {
        this.participateState = participateState == null ? null : participateState.trim();
    }

    public String getParticipateEndstate() {
        return participateEndstate;
    }

    public void setParticipateEndstate(String participateEndstate) {
        this.participateEndstate = participateEndstate == null ? null : participateEndstate.trim();
    }

    public int getParticipateSort() {
        return participateSort;
    }

    public void setParticipateSort(int participateSort) {
        this.participateSort = participateSort;
    }
}